package com.aabte.design2.creational.builder;

import lombok.Data;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/2
 */
@Data
public class Car {
    private int seats;
    private Engine engine;
    private boolean tripComputer;
    private boolean GPS;

    public void setSeats(int seats) {
        this.seats = seats;
    }

    public int getSeats() {
        return seats;
    }

    public void setEngine(Engine engine) {
        this.engine = engine;
    }

    public Engine getEngine() {
        return engine;
    }

    public void setTripComputer(boolean tripComputer) {
        this.tripComputer = tripComputer;
    }

    public boolean getTripComputer() {
        return tripComputer;
    }

    public void setGPS(boolean gps) {
        this.GPS = gps;
    }

    public boolean getGPS() {
        return GPS;
    }
}
